package com.tongandtang.bg.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tongandtang.bg.entity.Perm;
import com.tongandtang.bg.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tong
 * @since 2019-12-16
 */
public interface UserMapper extends BaseMapper<User> {

    List<Perm> getUserPerms(@Param("userId") Long userId);
}
